﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="UserWork_Check" Codebehind="Check.aspx.cs" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>Default</title>
    <link href="../BasicLayout.css" type="text/css" rel="stylesheet">
</head>
<body leftmargin="0" topmargin="0">
    <form id="Form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
        bordercolor="#111111" width="100%" height="1">
        <tr height="30">
            <td width="3%" bgcolor="#c0d9e6" class="GbText" background="../Images/treetopbg.jpg">
                <font color="#006699" size="3">
                    <img src="../Images/icon/right.GIF" width="16" height="16"></font>
            </td>
            <td bgcolor="#c0d9e6" class="GbText" background="../../Images/treetopbg.jpg">
                <b>我的考勤</b>
            </td>
        </tr>
    </table>
    <table id="Table1" style="height: 258px" cellspacing="1" cellpadding="1" width="100%"
        border="0" class="gbtext">
        <tr>
            <td align="center" height="40">
                &nbsp;<asp:Button ID="btnCheckAttendance" runat="server" CssClass="buttoncss" Width="80px"
                    OnClick="btnCheckAttendance_Click" Text="上 班 登 记" OnDisposed="btnCheckAttendance_Disposed">
                </asp:Button>
                <asp:Button ID="Button3" runat="server" CssClass="buttoncss" Text="下 班 登 记" Width="80px"
                    OnClick="Button3_Click" />
            </td>
        </tr>
        <tr>
            <td align="center" style="height: 165px">
                <asp:Label ID="Label1" runat="server">考勤信息</asp:Label>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Style="font-size: 9pt"
                    OnSelectedIndexChanged="GridView1_SelectedIndexChanged" BackColor="White" BorderColor="#CCCCCC"
                    BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="803px">
                    <Columns>
                        <asp:BoundField DataField="CheckDate" HeaderText="日期" />
                        <asp:BoundField DataField="Ontutytime" HeaderText="上班时间" />
                        <asp:BoundField DataField="OffdutyTime" HeaderText="下班时间" />
                        <asp:BoundField DataField="OntutyState" HeaderText="上班状态" />
                        <asp:BoundField DataField="OffDutyState" HeaderText="下班状态" />
                        <asp:BoundField DataField="OntutyWhys" HeaderText="上班备注" />
                        <asp:BoundField DataField="OffWhys" HeaderText="下班备注" />
                        <asp:BoundField DataField="username" HeaderText="UserName" Visible="False" />
                        <asp:BoundField DataField="OndutyId" HeaderText="OndutyId" Visible="False" />
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <RowStyle ForeColor="#000066" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <span id="MySpan" runat="server">
            <tr>
                <td align="center">
                    <asp:Label ID="Label2" runat="server" Text="上班备注信息"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:TextBox ID="TextBox1" runat="server" Height="119px" TextMode="MultiLine" Width="237px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="Button1" CssClass="buttoncss" runat="server" OnClick="Button1_Click"
                        Text="确　定" Width="56px" />&nbsp;<asp:Button ID="Button2" CssClass="buttoncss" runat="server"
                            Text="取　消" OnClick="Button2_Click" />
                </td>
            </tr>
        </span><span id="MySpan1" runat="server" visible="false">
            <tr>
                <td align="center">
                    <asp:Label ID="Label3" runat="server" Text="下班备注信息"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:TextBox ID="TextBox2" runat="server" Height="119px" TextMode="MultiLine" Width="237px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="Button4" CssClass="buttoncss" runat="server" Text="确　定" Width="56px"
                        OnClick="Button4_Click" />&nbsp;<asp:Button ID="Button5" CssClass="buttoncss" runat="server"
                            Text="取　消" OnClick="Button5_Click" />
                </td>
            </tr>
        </span>
    </table>
    </form>
</body>
</html>
